package com.crm.model.qo.couponManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author:chaifuyou
 * @Date: 2021/5/11 16:01
 *
 * @Author renshaorong
 * @Date 2021/11/16 
 */
@Data
public class CouponQO {

    //页码
    private Integer pageIndex;

    //每页显示个数
    private Integer pageSize;

    private String chsCustomerCouponId;

    //优惠券名称
    private String couponName;

    //优惠券状态
    private Short couponStatus;

    //优惠券属性
    private Short couponProperty;

    //优惠券类型 1折扣类 2额度类
    private Short couponType;

    //优惠券额度
    private BigDecimal couponQuota;

    //优惠券优惠折扣
    private BigDecimal couponDiscount;

    //优惠券已使用数量
    private Integer couponUseCount;

    //优惠券数量
    private Integer couponCount;

    //适用范围 0：部分产品，1:全部产品
    private Short scopeOfApplication;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date validPeriod;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date validPeriodStart;

    //使用方式 0可叠加 1不可叠加
    private Short useType;

    private List<String> productList;//适用产品列表

    private String customerId;

    private BigDecimal productTotalPrice;
}
